package com.lone.smallmovie.utils;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class LoginSession
{
	private static Map<String, Map<String, String>> session = new ConcurrentHashMap<String, Map<String, String>>();
	
	
	public static void addMap(String id, Map<String, String> map)
	{
		session.put(id, map);
	}
	
	public static Map<String, String> getMap(String id)
	{
		return session.get(id);
	}
	
	public static void removeUserSession(String id)
	{
		session.remove(id);
	}
}
